package com.bleeth.fx.component;

import javafx.beans.property.SimpleStringProperty;
import javafx.event.EventHandler;
import javafx.scene.control.PasswordField;
import javafx.scene.layout.Region;
import lombok.Builder;


/**
 * @author Sakura
 * @version 1.0
 * @date 2021-11-13 22:17
 **/
@Builder
public class MPasswordInput {


    private String placeholder;

    private String text;

    private boolean disabled;

    private boolean clearable;

    private SimpleStringProperty _text;


    private EventHandler onAction;



    public Region make() {
        PasswordField field = new PasswordField();

        return field;
    }

}
